import { request } from '@/utils/request'

// 实时动态(分页查询生产数据)
export const getAsphaltListApi = (params, data) =>
  request({
    url: `/app/mixer/asphalt/data/query/page`,
    method: 'POST',
    params,
    data,
    headers: {
      'content-type': 'application/json'
    }
  })

// 查询生产信息详情
export const getAsphaltDetailApi = (params) =>
  request({
    url: `/app/mixer/asphalt/data/particulars`,
    method: 'GET',
    params
  })

// 查询设备与最新出料信息列表
export const getAsphaltEquipmentsApi = (params) =>
  request({
    url: `/app/mixer/asphalt/data/equipments`,
    method: 'GET',
    params
  })
